import service from "@/utils/request";


//访客信息添加
export function visitor_add(payload = {}) {
    return service.post('/visitor/add', payload)
}
//访客信息的分页查询接口
export function visitor_list(payload = {}) {
    return service.get('/visitor/queryAll', { params: payload })
}
///访客信息的删除接口
export function visitor_del(payload = {}) {
    return service.delete('/visitor/deleteById', { params: payload })
}
//访客信息的批量删除接口
export function visitor_delall(payload = {}) {
    return service.delete('/visitor/deletefew', { params: payload })
}
//访客信息的修改接口
export function visitor_change(payload = {}) {
    return service.put('/visitor/edit', payload)
}
//访客信息的单例查询接口
export function visitor_find(payload = {}) {
    return service.get('/visitor/queryById', { params: payload })
}